/**
 * @author Maximilian Csuk
 * @author Konrad Paumann
 * @author Bernhard Denner
 */

public abstract class Number implements Node {

	/**
	 * returns a new Instance of NotaNumber if this method
	 * is not overridden by the subtype
	 */
	public Number add(Number that) {
		return new NotaNumber();
	}

	/**
	 * returns a new Instance of NotaNumber if this method
	 * is not overridden by the subtype
	 */
	public Number mul(Number that) {
		return new NotaNumber();
	}

	/**
	 * returns a new Instance of NotaNumber if this method
	 * is not overridden by the subtype
	 */
	public Number trunc() {
		return new NotaNumber();
	}

	/**
	 * returns a new Instance of NotaNumber if this method
	 * is not overridden by the subtype
	 */
	public Number int2float() {
		return new NotaNumber();
	}

}
